# 抽象类 抽象方法

import abc

class Animal(object, metaclass=abc.ABCMeta):

    @abc.abstractmethod
    def jiao(self):
        pass
    @abc.abstractmethod
    def test(self):
        pass

class Dog(Animal):
    def jiao(self):
        print('wangwangwang')

class Cat(Animal):
    def jiao(self):
        print('miaomiaomiao')

# d = Dog()

# d.jiao()
c  = Cat()
